package com.jmp.base;

import com.jmp.base.dto.*;
import one.stand.model.ResultModel;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 名片访问记录Api
 *
 * @author cjr
 */
public interface SeeRecordApi {
    /**
     * 名片
     */
    @PostMapping("/see/card")
    ResultModel card(@RequestBody SeeRecordCardRequest request);

    /**
     * 商品列表
     */
    @PostMapping("/see/goods/list")
    ResultModel goodsList(@RequestBody SeeRecordGoodsListRequest request);

    /**
     * 商品
     */
    @PostMapping("/see/goods")
    ResultModel goods(@RequestBody SeeRecordGoodsRequest request);

    /**
     * 商品-经销版
     */
    @PostMapping("/see/goods/jxs")
    ResultModel goodsJxs(@RequestBody SeeRecordGoodsRequest request);

    /**
     * 商品
     */
    @PostMapping("/see/goods/count")
    ResultModel goodsCount(@RequestBody SeeRecordGoodsCountRequest request);

    /**
     * 文章、动态
     */
    @PostMapping("/see/article")
    ResultModel article(@RequestBody SeeRecordArticleRequest request);

    /**
     * 官网
     */
    @PostMapping("/see/website")
    ResultModel website(@RequestBody SeeRecordWebsiteRequest request);

    /**
     * 头条
     */
    @PostMapping("/see/lead")
    ResultModel lead(@RequestBody SeeRecordLeadRequest request);

    @PostMapping("/see/remove")
    ResultModel remove(@RequestBody SeeRecordRemoveDto request);

    /**
     * 隐藏
     */
    @PostMapping("/see/hide")
    ResultModel hide(@RequestBody SeeRecordHideDto request);
}
